package com.youhome.mapper;

import com.youhome.model.BClient;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BClientMapper {
    int deleteByPrimaryKey(Long clientId);

    int insert(BClient record);

    int insertSelective(BClient record);

    BClient selectByPrimaryKey(Long clientId);

    List<BClient> selectByBean(BClient record);

    int updateByPrimaryKeySelective(BClient record);

    int updateByPrimaryKey(BClient record);

    int updateByClientIdAndCounselorId(BClient record);

    int deleteByClientIdAndCounselorId(BClient bClient);

    int selectExistsByPrimaryKey(Long clientId);
}